<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
    <title>注册-PlayGirl</title>
    <link rel="stylesheet" th:href="@{/bootstrap/css/bootstrap.min.css}">
    <link rel="stylesheet" th:href="@{/css/login.css}">
</head>
<body class="text-center">

<form class="form-signin" method="post" th:action="@{/register}">
    <img alt="" class="mb-4" height="72" th:src="@{/images/logo/logo7272.jpg}" width="72">
    <h1 class="h3 mb-3 font-weight-normal">注册</h1>

    <p style="color: red" th:text="${registerMsg}"></p>

    <input class="form-control mb-2" name="username" placeholder="用户名" required="" type="text">
    <input class="form-control" name="password" placeholder="密码" required="" type="password">
    <input class="form-control" name="repassword" placeholder="确认密码" required="" type="password">
    <input class="form-control" name="code" placeholder="社区邀请码" required="" type="text">

    <button class="btn btn-lg btn-primary btn-block mt-3" type="submit">注 册</button>

    <p class="clearfix">
        <a class="float-right" th:href="@{/toLogin}">已有账号？去登录</a>
    </p>

    <p class="mt-5 mb-3 text-muted">© playGirl</p>
</form>


</body>
</html>